package avicit.bdp.dds.dao.mapper;

import avicit.bdp.common.base.BaseDAO;
import avicit.bdp.dds.dispatch.enums.AlertStatus;
import avicit.bdp.dds.dao.entity.Alert;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * alert mapper interface
 */
public interface AlertMapper extends BaseDAO<Alert> {

    /**
     * list alert by status
     * @param alertStatus alertStatus
     * @return alert list
     */
    List<Alert> listAlertByStatus(@Param("alertStatus") AlertStatus alertStatus);

}
